//
//  HJPictureCell.m
//  newOcWeibo
//
//  Created by heJing on 15/7/28.
//  Copyright (c) 2015年 heima. All rights reserved.
//

#import "HJPictureCell.h"
#import "HJPhoto.h"
#import "UIImageView+WebCache.h"
@interface HJPictureCell()

// 配图图片容器
@property (weak, nonatomic) IBOutlet UIImageView *pictureView;

@end

@implementation HJPictureCell

+ (NSString *)identifier;
{
    return @"pictureCell";
}

-(void)setPhoto:(HJPhoto *)photo
{
    _photo = photo;
    
    NSURL *url = [NSURL URLWithString:_photo.thumbnail_pic];
    [self.pictureView sd_setImageWithURL:url placeholderImage:[UIImage imageNamed:@"iOS8.jpg"]];
}

@end
